<template>
    <div class="title">
        <h2>这是文本组件</h2>
    </div>
</template>

<script setup lang="ts">
    
</script>

<style lang="scss" scoped>
    .title{
        h2{
            color: #333;
        }
    }
</style>